/*
 * @Copyright: Copyright (c) 2030 吴周海
 * @Author: wzh200x@126.com
 * @Date: 2025-10-20 14:09:03
 * @LastEditors: wzh200x@126.com
 * @LastEditTime: 2025-10-27 16:24:33
 * @FilePath: \gogamewebserver\goGameWebServer\api\account\v1\account.go
 * @Description: 文件功能描述
 */
package v1

import "github.com/gogf/gf/v2/util/gmeta"

type AccountUpdateReq struct {
	gmeta.Meta           `path:"account/update/third" method:"post" tags:"更新账号第三方Token"`
	AccountId            uint   `json:"account_id" v:"required#账号id不能为空" dc:"账号id"`
	ThirdToken           string `json:"third_token" v:"required#第三方token不能为空" dc:"第三方token"`
	ThirdTokenExpireTime int64  `json:"third_token_expire_time" v:"required#第三方token过期时间不能为空" dc:"第三方token过期时间"`
}

type AccountUpdateRes struct {
	gmeta.Meta `mime:"application/json" example:"{code:0, message:'', data:null}"`
}

type AccountCallThirdReq struct {
	gmeta.Meta `path:"account/call/third" method:"post" tags:"调用第三方请求"`
	AccountId  uint   `json:"account_id" v:"required#账号id不能为空" dc:"账号id"`
	Url        string `json:"url" v:"required#请求地址不能为空" dc:"路径"`
	Data       string `json:"data" v:"required#请求数据不能为空" dc:"map[string]string json数据"`
	AppId      string `json:"app_id" v:"required#请求数据不能为空" dc:"应用id"`
}

type AccountCallThirdRes struct {
	gmeta.Meta `mime:"application/json" example:"{code:0, message:'', data:{data:{}}}"`
	Data       string `json:"data" v:"required#请求数据不能为空" dc:"map[string]string json数据"`
}
